package com.xiaozeng.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaozeng.param.OrderParam;
import com.xiaozeng.pojo.Order;

/**
 * @Author: xiaozeng
 * @Date: 2022 11
 * @Description:
 **/
public interface OrderService extends IService<Order> {
    /**
     * 订单保存业务
     * 库存和购物车使用mq异步,避免分布式事务!
     */
    Object save(OrderParam orderParam);

    Object list(OrderParam orderParam);
}
